package com.strawcom.charmring.util;

public class URLProvider {
	static String tempIP = "http://192.168.10.45:8080";
	public static String getUrl(boolean http){
		if(http){
			return "http://srvdata.strawcom.com/SmartRing/msgid=";
		}else {
			return "https://srvdata.strawcom.com:8443/SmartRing/msgid=";
//			return tempIP + "/SmartRing/msgid=";
		}
	}
	
	public static String getUrl_img(boolean http){
		if(http){
			return "http://srvdata.strawcom.com/SmartRing/images/";
		}else{
			return "https://srvdata.strawcom.com:8443/SmartRing/images/";
//			return tempIP + "/SmartRing/images/";
		}
	}
	
	public static String getUrl_update(boolean http){
		if(http){
			return "http://srvdata.strawcom.com/SmartRing/imgs/";
		}else{
			return "https://srvdata.strawcom.com:8443/SmartRing/imgs/";
//			return tempIP + "/SmartRing/imgs/";
		}
	}
	
	public static String getUrl_app_update(boolean http){
		if(http){
			return "http://srvdata.strawcom.com/SmartRing/imgs/";
		}else{
			return "https://srvdata.strawcom.com:8443/SmartRing/imgs/";
//			return tempIP + "/SmartRing/imgs/";
		}
	}
}
